package com.itWaVel.feign.config;

import com.itWaVel.feign.client.fallback.TemplateClientFallback;
import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DefaultFeignConfiguration {

    @Bean
    public Logger.Level feignLogLevel(){
        return Logger.Level.BASIC; // 日志级别为BASIC
    }

//    @Bean
//    public TemplateClientFallback templateClientFallback(){
//        return new TemplateClientFallback();
//    }

}
